package com.lmy.product.feign;

import com.lmy.common.utils.R;
import com.lmy.vo.SkuStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("guli-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/getSkuStock")
    R<List<SkuStockVo>> getSkuStock(@RequestBody List<Long> skuIds);
}
